package com.sjzd.meeting.dao;

import com.sjzd.meeting.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * UserDAO继承基类
 */
@Mapper
public interface UserDAO extends MyBatisBaseDao<User, Integer> {
    @Select("select * from user where email = #{email}")
    User selectByEmail(String email);

    @Select("select * from user where wxid = #{wxid}")
    User selectByWxid(Integer wxid);
}